<?php

namespace common\helpers;

/**
 * Created by PhpStorm.
 * User: lengbin
 * Date: 2017/2/2
 * Time: 下午4:57
 */
class ConstantHelper
{
    // cache
    const CACHE_SYSTEM_PARAMS = 'cache.system.params';
    const CACHE_SYSTEM_DICT = 'cache.system.dict';
    const CACHE_SCHOOL_STAR = 'cache.school_star.';
    const CACHE_SCHOOL_SCOPE = 'cache.school_scope.';
    const CACHE_SCHOOL_YEAR = 'cache.school_year.';
    const CACHE_SCHOOL_GRADE = 'cache.school_grade.';
    const CACHE_SCHOOL_CLASSROOM_STUDENT = 'cache.school_classroom_student.';

    const NOT_DELETE = 1;

    //  性别
    const USER_GENDER_UNDEFINED = 0;
    const USER_GENDER_MAN = 1;
    const USER_GENDER_WOMAN = 2;
    // 登录类型
    const USER_LOGIN_TYPE_IN = 1;
    const USER_LOGIN_TYPE_OUT = 2;

    // 系统基础参数
    // 星期
    const WEEK_MONDAY = 1;
    const WEEK_TUESDAY = 2;
    const WEEK_WEDNESDAY = 3;
    const WEEK_THURSDAY = 4;
    const WEEK_FRIDAY = 5;
    const WEEK_SATURDAY = 6;
    const WEEK_SUNDAY = 7;

    //角色
    const USER_ROLE_STUDENT = 'student';
    const USER_ROLE_TEACHER = 'teacher';
    const USER_ROLE_PARENT = 'parent';
    const USER_ROLE_ROOT = 'root';
    const USER_ROLE_ADMIN = 'admin';


}
